package com.ly.cloud.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.ly.cloud.dto.GroupMembersDto;
import com.ly.cloud.entity.GroupMembersPo;
import com.ly.cloud.vo.GroupMembersVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: pengshiqng
 * @Description:
 * @Date: Create in 2018/12/6
 */
@Mapper
public interface GroupMembersMapper extends BaseMapper<GroupMembersPo> {

    List<GroupMembersVo> selectPage(@Param("page") Pagination page, @Param("groupid")Long groupid , @Param("dto") GroupMembersDto dto);

    List<GroupMembersVo> showUserListPage(@Param("page") Pagination page, @Param("groupid")Long groupid , @Param("dto") GroupMembersDto dto);

}